package org.kitrum.example.pattern;

import java.util.regex.Pattern;

/**
 * @program: kitrum-example
 * @description:
 * @author: Kun
 * @create: 2021-01-22 16:10
 */
public class PatternApplication {

    private static final void run()
    {
        System.out.println("1234567890".matches("\\w{10,}"));
        System.out.println("12Y456B134".replaceAll("[a-zA-Z]+","-"));
    }

    public static void main(String[] args) {
        run();
    }
}
